package com.jlcindia.spring;

public class AccountService {
	public void getBal(){
		System.out.println("AS-getBal()-Begin");
		System.out.println("AS-getBal()-DONE");
		System.out.println("AS-getBal()-End");
	}
	public void mydeposit(){
		System.out.println("AS-mydeposit()-Begin");
		System.out.println("AS-mydeposit()-DONE");
		System.out.println("AS-mydeposit()-End");
	}
	public void withdraw() throws Exception{
		System.out.println("AS-withdraw()-Begin");
		if(1==1){
			throw new InsufficientFundsException();
		}
		System.out.println("AS-withdraw()-End");
	}
}
